-
Notifications
You must be signed in to change notification settings - Fork 3
chore: Update external account schemas from webdev #152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
chore: Update external account schemas from webdev #152
Conversation
Greptile OverviewGreptile SummaryAuto-synced two new external account schemas from webdev for INR UPI and MXN SPEI payment corridors.
Confidence Score: 4/5
|
| Filename | Overview |
|---|---|
| openapi/components/schemas/external_accounts/ExternalAccountInfoOneOf.yaml | Added two new account types with formatting inconsistency in titles, plus indentation normalization |
| openapi/components/schemas/external_accounts/InrUpiAccountInfo.yaml | New INR UPI account schema with proper structure and validation |
| openapi/components/schemas/external_accounts/MxnSpeiAccountInfo.yaml | New MXN SPEI account schema with proper CLABE validation (18-digit pattern) |
Sequence Diagram
sequenceDiagram
participant WebDev as Webdev/Sparkcore
participant CopyBot as Copybara Sync Bot
participant GridAPI as Grid API Repo
participant OpenAPI as OpenAPI Schema
WebDev->>CopyBot: Generate external account schemas from VASP adapter
Note over WebDev: MxnSpeiAccountInfo schema<br/>InrUpiAccountInfo schema
CopyBot->>GridAPI: Auto-sync schemas
GridAPI->>OpenAPI: Add InrUpiAccountInfo.yaml
GridAPI->>OpenAPI: Add MxnSpeiAccountInfo.yaml
GridAPI->>OpenAPI: Update ExternalAccountInfoOneOf.yaml
Note over OpenAPI: Add INR_UPI_ACCOUNT mapping<br/>Add MXN_SPEI_ACCOUNT mapping<br/>Normalize indentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3 files reviewed, 1 comment
| - title: MxnSpeiAccountInfo | ||
| $ref: ./MxnSpeiAccountInfo.yaml | ||
| - title: InrUpiAccountInfo | ||
| $ref: ./InrUpiAccountInfo.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inconsistent title format - should follow existing pattern like "SPEI Account" and "UPI Account" instead of schema names
| - title: MxnSpeiAccountInfo | |
| $ref: ./MxnSpeiAccountInfo.yaml | |
| - title: InrUpiAccountInfo | |
| $ref: ./InrUpiAccountInfo.yaml | |
| - title: SPEI Account | |
| $ref: ./MxnSpeiAccountInfo.yaml | |
| - title: INR UPI Account | |
| $ref: ./InrUpiAccountInfo.yaml |
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Prompt To Fix With AI
This is a comment left during a code review.
Path: openapi/components/schemas/external_accounts/ExternalAccountInfoOneOf.yaml
Line: 34:37
Comment:
Inconsistent title format - should follow existing pattern like "SPEI Account" and "UPI Account" instead of schema names
```suggestion
- title: SPEI Account
$ref: ./MxnSpeiAccountInfo.yaml
- title: INR UPI Account
$ref: ./InrUpiAccountInfo.yaml
```
<sub>Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!</sub>
How can I resolve this? If you propose a fix, please make it concise.
Auto-synced external account schemas from webdev.
These schemas are generated from VASP adapter field definitions in sparkcore.
Please review the changes before merging.